package com.xiao.mall.foundation.constant;

public interface RabbitMqConstant {
    // =====================
    // 订单相关交换机
    // =====================
    // 订单提交成功交换机
    String EXCHANGE_FANOUT_ORDER_SUBMITTED = "exchange.fanout.order.submitted";

    // 订单下单成功交换机
    String EXCHANGE_FANOUT_ORDER_PLACED = "exchange.fanout.order.placed";


    // 订单下单成功延时交换机
    String EXCHANGE_FANOUT_DELAY_ORDER_PLACED = "exchange.fanout.delay.order.placed";

    // 订单取消成功交换机
    String EXCHANGE_FANOUT_ORDER_CANCELLED = "exchange.fanout.order.cancelled";

    // 订单发货交换机
    String EXCHANGE_FANOUT_ORDER_SHIPPED = "exchange.fanout.order.shipped";

    // 订单确认收货交换机
    String EXCHANGE_FANOUT_ORDER_RECEIVED = "exchange.fanout.order.receivedProductMapperImpl";

    // =====================
    // 商品相关交换机
    // =====================
    // 商品上架
    String EXCHANGE_FANOUT_PRODUCT_ON_SALE = "exchange.fanout.product.on_sale";

    // 商品下架
    String EXCHANGE_FANOUT_PRODUCT_OFF_SALE = "exchange.fanout.product.off_sale";

    // =====================
    // 库存相关交换机
    // =====================
    // sku售罄
    String EXCHANGE_FANOUT_STOCK_OUT_OF_STOCK = "exchange.fanout.stock.out_of_stock";

    // =====================
    // 会员相关交换机
    // =====================
    // TST会员注册
    String EXCHANGE_FANOUT_CUSTOMER_TST_REGISTER = "exchange.fanout.customer.tst_register";

    // TST会员升级
    String EXCHANGE_FANOUT_CUSTOMER_TST_UPGRADE = "exchange.fanout.customer.tst_upgrade";

    // TST会员邀请新人
    String EXCHANGE_FANOUT_CUSTOMER_TST_INVITE = "exchange.fanout.customer.tst_invite";

    // TST会员生日
    String EXCHANGE_FANOUT_CUSTOMER_TST_BIRTHDAY = "exchange.fanout.customer.birthday";

    // 钱包交换机
    String EXCHANGE_FANOUT_CUSTOMER_WALLET_TRANSACTION = "exchange.fanout.customer.wallet.transaction";

    // TST会员绑定
    String EXCHANGE_FANOUT_CUSTOMER_TST_BIND = "exchange.fanout.customer.tst_bind";


   String EXCHANGE_FANOUT_MERGE_USER_ACCOUNT = "exchange.fanout.merge.user.account";


    /**
     * 订单交换机
     */
    String ORDER_EXCHANGE = "order.exchange";

    /**
     * 订单队列
     */
    String QUEUE_ORDER_PAY = "order.pay.queue";

    String EXCHANGE_PAY_RESULT = "exchange.fanout.order.pay.result";
    String QUEUE_PAY_RESULT = "queue.order.pay.result.save";

//    /**
//     * 订单已取消交换机
//     */
//    String EXCHANGE_FANOUT_ORDER_CANCELED = "exchange.fanout.order.canceled";

    /**
     * 订单确认收货消息交换机
     */
    String EXCHANGE_FANOUT_TRANSACTION_ORDER_CONFIRM = "exchange.fanout.transaction.order.confirm";

    String EXCHANGE_FAKE_ORDER = "exchange.order.fake";

    String QUEUE_FAKE_ORDER = "queue.order.fake";

//    String EXCHANGE_ORDER_PAY_RESULT = "exchange.fanout.order.pay.result";

    String EXCHANGE_ORDER_REFUND_RESULT = "exchange.fanout.order.refund.result";

    String ORDER_REFUND_RESULT_QUEUE = "queue.order.refund.result";

    /**
     * 待确认业绩推送队列
     */
    String QUEUE_TRANSACTION_ORDER_ACHIEVEMENT_PENDING = "queue.transaction.order.achievement.pending";

    /**
     * 订单退款交换机
     */
    String EXCHANGE_DIRECT_ORDER_REFUND_APPLY = "exchange.direct.order.refund.apply";

    /**
     * 订单已退款交换机
     */
    String EXCHANGE_FANOUT_TRANSACTION_ORDER_REFUND = "exchange.fanout.transaction.order.refund";


    /**
     * 订单退款交换机
     */
    String EXCHANGE_FANOUT_TRANSACTION_ORDER_WAITING_REFUND = "exchange.fanout.transaction.order.waiting.refund";

    /**
     * 合并用户操作日志交换机
     */
    String EXCHANGE_FANOUT_TRANSACTION_MERGE_USER = "exchange.fanout.transaction.merge.user";

    /**
     * 自营（tst）订单发货队列
     */
    String QUEUE_TRANSACTION_ORDER_SELF_SELLER_SHIP = "queue.transaction.order.selfSeller.ship";

    /**
     * 自营（tst）订单发货延时队列
     */
    String QUEUE_DELAY_TRANSACTION_ORDER_SELF_SELLER_SHIP = "queue.delay.transaction.order.selfSeller.ship";


    String QUEUE_TRANSACTION_ORDER_ACHIEVEMENT_REFUND = "queue.transaction.order.achievement.refund";

    /**
     * 订单发货订阅
     */
    String EXCHANGE_FANOUT_ORDER_SHIP_SUBSCRIBE = "exchange.fanout.order.ship.subscribe";

    /**
     * 待确认业绩推送临时交换机
     */
    String EXCHANGE_FANOUT_ACHIEVEMENT_PENDING_TMP = "exchange.fanout.achievement.pending.tmp";

    /**
     * 审计日志交换机
     */
    String EXCHANGE_FANOUT_AUDIT_LOG_TRIGGERED = "exchange.fanout.audit.log.triggered";

    /**
     *  日志创建
     */
    String QUEUE_AUDIT_LOG_CREATE = "queue.audit.log.create";

    /**
     * 图文审核通过并发布交换机
     */
    String EXCHANGE_FANOUT_POST_PUBLISH = "exchange.fanout.post.publish";

    /**
     * 图文点赞交换机
     */
    String EXCHANGE_FANOUT_POST_LIKE = "exchange.fanout.post.like";

    /**
     * 订单更新物流交换机
     */
    String EXCHANGE_FANOUT_ORDER_UPDATE_LOGISTICS = "exchange.fanout.order.update.logistics";
}
